package com.youbo.cloudmall.product.feign;

import com.youbo.common.to.es.SkuEsModel;
import com.youbo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author youbo
 * @version 1.0
 * @date 2021/10/11 20:31
 */
@FeignClient("cloudmall-search")
public interface SearchFeignService {
    @PostMapping("/search/product/save")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
